<ion-header>
  <ion-navbar>
    <ion-title>外来科研项目入区许可</ion-title>
  </ion-navbar>
</ion-header>
<ion-content>
  <ion-list class="approval-list">
    <ion-list-header>
      <span class="approval-list-header-text">申请信息</span>
    </ion-list-header>
    <ion-item>
        <span class="bhq-title">单位名称: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.dwmc}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">项目名称: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.xmmc}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">是否有介绍信(函): </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.sfyjsxName}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">申请编号: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.bh}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">是否鉴定合作协议: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.sjqdhzxyName}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">协议编号: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.xybh}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">带队负责人名称: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.ddfzrmc}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">带队负责人职务名称: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.ddfzrzwmc}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">带队负责人联系电话: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.ddfzrlxdh}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">人数: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.renshu}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">来访时间: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.lfsj | asDate}}~{{gzwlkyxmsqb.editRow.lfsjjssj | asDate}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">活动计划时限: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.hdjhsx}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">活动范围: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.hdfw}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">提供活动方案情况: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.tjhdfaqk}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">项目简介: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.xmjj}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">注意事项: </span>
        <span class="bhq-content">{{gzwlkyxmsqb.editRow.zysx}}</span>
    </ion-item>
  </ion-list>

  <ion-list class="approval-list">
    <ion-list-header>
      <span class="approval-list-header-text" id="tab2">科研科签批</span>
    </ion-list-header>
    <div *ngIf="gzwlkyxmsqb.process.usertask2!=null">
      <div *ngFor="let item of  gzwlkyxmsqb.process.usertask2.history">
        <ion-item>
          <ion-label class="bhq-content">{{item.optcontent}}</ion-label>
        </ion-item>
        <ion-item>
          <ion-label class="bhq-content">签批人: {{item.optassigneesname}}</ion-label>
          <ion-label class="bhq-content">时间:{{item.opttime | asDate}}</ion-label>
        </ion-item>
      </div>

      <ion-item *ngIf="gzwlkyxmsqb.process.usertask2.editRow!=null && gzwlkyxmsqb.proauth.kssp  && gzwlkyxmsqb.process.usertask2.userEdit">
        <ion-label class="bhq-title">签批意见:</ion-label>
        <ion-textarea class="zs-answer-inn" aria-rowspan="5" [(ngModel)]="gzwlkyxmsqb.process.usertask2.editRow.optcontent">
        </ion-textarea>
      </ion-item>
    </div>
  </ion-list>

  <ion-list class="approval-list">
    <ion-list-header>
      <span class="approval-list-header-text" id="tab3">办公室主任审核</span>
    </ion-list-header>
    <div *ngIf="gzwlkyxmsqb.process.usertask3!=null">
      <div *ngFor="let item of  gzwlkyxmsqb.process.usertask3.history">
        <ion-item>
          <ion-label class="bhq-content">{{item.optcontent}}</ion-label>
        </ion-item>
        <ion-item class="bhq-last-child">
          <ion-label class="bhq-content">签批人: {{item.optassigneesname}}</ion-label>
          <ion-label class="bhq-content">时间:{{item.opttime | asDate}}</ion-label>
        </ion-item>
      </div>

      <ion-item class="bhq-last-child" *ngIf="gzwlkyxmsqb.process.usertask3.editRow!=null && gzwlkyxmsqb.proauth.bgssp  && gzwlkyxmsqb.process.usertask3.userEdit">
        <ion-label class="bhq-title">签批意见:</ion-label>
        <ion-textarea class="zs-answer-inn" aria-rowspan="5" [(ngModel)]="gzwlkyxmsqb.process.usertask3.editRow.optcontent">
        </ion-textarea>
      </ion-item>
    </div>
  </ion-list>

  <ion-list class="approval-list">
    <ion-list-header>
      <span class="approval-list-header-text" id="tab4">出具通行单</span>
    </ion-list-header>
    <div *ngIf="gzwlkyxmsqb.process.usertask4!=null">
      <div *ngFor="let item of  gzwlkyxmsqb.process.usertask4.history">
        <ion-item>
          <ion-label class="bhq-content">{{item.optcontent}}</ion-label>
        </ion-item>
        <ion-item class="bhq-last-child">
          <ion-label class="bhq-content">签批人: {{item.optassigneesname}}</ion-label>
          <ion-label class="bhq-content">时间:{{item.opttime | asDate}}</ion-label>
        </ion-item>
      </div>

      <ion-item class="bhq-last-child" *ngIf="gzwlkyxmsqb.process.usertask4.editRow!=null && gzwlkyxmsqb.proauth.bgsctxd  && gzwlkyxmsqb.process.usertask4.userEdit">
        <ion-label class="bhq-title">签批意见:</ion-label>
        <ion-textarea class="zs-answer-inn" aria-rowspan="5" [(ngModel)]="gzwlkyxmsqb.process.usertask4.editRow.optcontent">
        </ion-textarea>
      </ion-item>
    </div>
  </ion-list>
  <ion-list class="approval-list">
    <ion-list-header>
      <span class="approval-list-header-text" id="tab5">分配到管护站</span>
    </ion-list-header>
    <div *ngIf="gzwlkyxmsqb.process.usertask5!=null">
      <div *ngFor="let item of  gzwlkyxmsqb.process.usertask5.history">
        <ion-item>
          <ion-label class="bhq-content">{{item.optcontent}}</ion-label>
        </ion-item>
        <ion-item class="bhq-last-child">
          <ion-label class="bhq-content">签批人: {{item.optassigneesname}}</ion-label>
          <ion-label class="bhq-content">时间:{{item.opttime | asDate}}</ion-label>
        </ion-item>
      </div>

      <ion-item class="bhq-last-child" *ngIf="gzwlkyxmsqb.process.usertask5.editRow!=null && gzwlkyxmsqb.proauth.fpdghz  && gzwlkyxmsqb.process.usertask5.userEdit">
        <ion-label class="bhq-title">签批意见:</ion-label>
        <ion-textarea class="zs-answer-inn" aria-rowspan="5" [(ngModel)]="gzwlkyxmsqb.process.usertask5.editRow.optcontent">
        </ion-textarea>
      </ion-item>
    </div>
  </ion-list>
</ion-content>

<ion-footer class="bhq-bpm-button">
  <div class="footer-btn" *ngIf="gzwlkyxmsqb.auth.opt_th" (click)="gzwlkyxmsqb.getBackTask(null,null);">
    <ion-icon name="arrow-dropleft-circle" style="font-size:2em;color: #5477b0;"></ion-icon>
    <p>退回</p>
  </div>
  <div class="footer-btn" *ngIf="gzwlkyxmsqb.auth.opt_bc" (click)="gzwlkyxmsqb.bpmSave(null);">
    <ion-icon name="lock" style="font-size:2em;color: #5477b0;"></ion-icon>
    <p>保存</p>
  </div>
  <div class="footer-btn" *ngIf="gzwlkyxmsqb.auth.opt_tj" (click)="gzwlkyxmsqb.getNextTask(null,null);">
    <ion-icon name="arrow-dropright-circle" style="font-size:2em;color: #5477b0;"></ion-icon>
    <p>通过</p>
  </div>
  <!-- <div class="footer-more" (click)="goProcessPage();">...</div> -->
  <div class="footer-btn" (click)="goProcessPage();">
    <ion-icon name="keypad" style="font-size:2em;color: #5477b0;"></ion-icon>
    <p>更多</p>
</div>
</ion-footer>